package com.rc.saas.mini.model.elec;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class ElecPrinterExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public ElecPrinterExample() {
        oredCriteria = new ArrayList<>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andPrinterIdIsNull() {
            addCriterion("printer_id is null");
            return (Criteria) this;
        }

        public Criteria andPrinterIdIsNotNull() {
            addCriterion("printer_id is not null");
            return (Criteria) this;
        }

        public Criteria andPrinterIdEqualTo(Long value) {
            addCriterion("printer_id =", value, "printerId");
            return (Criteria) this;
        }

        public Criteria andPrinterIdNotEqualTo(Long value) {
            addCriterion("printer_id <>", value, "printerId");
            return (Criteria) this;
        }

        public Criteria andPrinterIdGreaterThan(Long value) {
            addCriterion("printer_id >", value, "printerId");
            return (Criteria) this;
        }

        public Criteria andPrinterIdGreaterThanOrEqualTo(Long value) {
            addCriterion("printer_id >=", value, "printerId");
            return (Criteria) this;
        }

        public Criteria andPrinterIdLessThan(Long value) {
            addCriterion("printer_id <", value, "printerId");
            return (Criteria) this;
        }

        public Criteria andPrinterIdLessThanOrEqualTo(Long value) {
            addCriterion("printer_id <=", value, "printerId");
            return (Criteria) this;
        }

        public Criteria andPrinterIdIn(List<Long> values) {
            addCriterion("printer_id in", values, "printerId");
            return (Criteria) this;
        }

        public Criteria andPrinterIdNotIn(List<Long> values) {
            addCriterion("printer_id not in", values, "printerId");
            return (Criteria) this;
        }

        public Criteria andPrinterIdBetween(Long value1, Long value2) {
            addCriterion("printer_id between", value1, value2, "printerId");
            return (Criteria) this;
        }

        public Criteria andPrinterIdNotBetween(Long value1, Long value2) {
            addCriterion("printer_id not between", value1, value2, "printerId");
            return (Criteria) this;
        }

        public Criteria andTenantCodeIsNull() {
            addCriterion("tenant_code is null");
            return (Criteria) this;
        }

        public Criteria andTenantCodeIsNotNull() {
            addCriterion("tenant_code is not null");
            return (Criteria) this;
        }

        public Criteria andTenantCodeEqualTo(String value) {
            addCriterion("tenant_code =", value, "tenantCode");
            return (Criteria) this;
        }

        public Criteria andTenantCodeNotEqualTo(String value) {
            addCriterion("tenant_code <>", value, "tenantCode");
            return (Criteria) this;
        }

        public Criteria andTenantCodeGreaterThan(String value) {
            addCriterion("tenant_code >", value, "tenantCode");
            return (Criteria) this;
        }

        public Criteria andTenantCodeGreaterThanOrEqualTo(String value) {
            addCriterion("tenant_code >=", value, "tenantCode");
            return (Criteria) this;
        }

        public Criteria andTenantCodeLessThan(String value) {
            addCriterion("tenant_code <", value, "tenantCode");
            return (Criteria) this;
        }

        public Criteria andTenantCodeLessThanOrEqualTo(String value) {
            addCriterion("tenant_code <=", value, "tenantCode");
            return (Criteria) this;
        }

        public Criteria andTenantCodeLike(String value) {
            addCriterion("tenant_code like", value, "tenantCode");
            return (Criteria) this;
        }

        public Criteria andTenantCodeNotLike(String value) {
            addCriterion("tenant_code not like", value, "tenantCode");
            return (Criteria) this;
        }

        public Criteria andTenantCodeIn(List<String> values) {
            addCriterion("tenant_code in", values, "tenantCode");
            return (Criteria) this;
        }

        public Criteria andTenantCodeNotIn(List<String> values) {
            addCriterion("tenant_code not in", values, "tenantCode");
            return (Criteria) this;
        }

        public Criteria andTenantCodeBetween(String value1, String value2) {
            addCriterion("tenant_code between", value1, value2, "tenantCode");
            return (Criteria) this;
        }

        public Criteria andTenantCodeNotBetween(String value1, String value2) {
            addCriterion("tenant_code not between", value1, value2, "tenantCode");
            return (Criteria) this;
        }

        public Criteria andPrinterNameIsNull() {
            addCriterion("printer_name is null");
            return (Criteria) this;
        }

        public Criteria andPrinterNameIsNotNull() {
            addCriterion("printer_name is not null");
            return (Criteria) this;
        }

        public Criteria andPrinterNameEqualTo(String value) {
            addCriterion("printer_name =", value, "printerName");
            return (Criteria) this;
        }

        public Criteria andPrinterNameNotEqualTo(String value) {
            addCriterion("printer_name <>", value, "printerName");
            return (Criteria) this;
        }

        public Criteria andPrinterNameGreaterThan(String value) {
            addCriterion("printer_name >", value, "printerName");
            return (Criteria) this;
        }

        public Criteria andPrinterNameGreaterThanOrEqualTo(String value) {
            addCriterion("printer_name >=", value, "printerName");
            return (Criteria) this;
        }

        public Criteria andPrinterNameLessThan(String value) {
            addCriterion("printer_name <", value, "printerName");
            return (Criteria) this;
        }

        public Criteria andPrinterNameLessThanOrEqualTo(String value) {
            addCriterion("printer_name <=", value, "printerName");
            return (Criteria) this;
        }

        public Criteria andPrinterNameLike(String value) {
            addCriterion("printer_name like", value, "printerName");
            return (Criteria) this;
        }

        public Criteria andPrinterNameNotLike(String value) {
            addCriterion("printer_name not like", value, "printerName");
            return (Criteria) this;
        }

        public Criteria andPrinterNameIn(List<String> values) {
            addCriterion("printer_name in", values, "printerName");
            return (Criteria) this;
        }

        public Criteria andPrinterNameNotIn(List<String> values) {
            addCriterion("printer_name not in", values, "printerName");
            return (Criteria) this;
        }

        public Criteria andPrinterNameBetween(String value1, String value2) {
            addCriterion("printer_name between", value1, value2, "printerName");
            return (Criteria) this;
        }

        public Criteria andPrinterNameNotBetween(String value1, String value2) {
            addCriterion("printer_name not between", value1, value2, "printerName");
            return (Criteria) this;
        }

        public Criteria andElecStationIdIsNull() {
            addCriterion("elec_station_id is null");
            return (Criteria) this;
        }

        public Criteria andElecStationIdIsNotNull() {
            addCriterion("elec_station_id is not null");
            return (Criteria) this;
        }

        public Criteria andElecStationIdEqualTo(Long value) {
            addCriterion("elec_station_id =", value, "elecStationId");
            return (Criteria) this;
        }

        public Criteria andElecStationIdNotEqualTo(Long value) {
            addCriterion("elec_station_id <>", value, "elecStationId");
            return (Criteria) this;
        }

        public Criteria andElecStationIdGreaterThan(Long value) {
            addCriterion("elec_station_id >", value, "elecStationId");
            return (Criteria) this;
        }

        public Criteria andElecStationIdGreaterThanOrEqualTo(Long value) {
            addCriterion("elec_station_id >=", value, "elecStationId");
            return (Criteria) this;
        }

        public Criteria andElecStationIdLessThan(Long value) {
            addCriterion("elec_station_id <", value, "elecStationId");
            return (Criteria) this;
        }

        public Criteria andElecStationIdLessThanOrEqualTo(Long value) {
            addCriterion("elec_station_id <=", value, "elecStationId");
            return (Criteria) this;
        }

        public Criteria andElecStationIdIn(List<Long> values) {
            addCriterion("elec_station_id in", values, "elecStationId");
            return (Criteria) this;
        }

        public Criteria andElecStationIdNotIn(List<Long> values) {
            addCriterion("elec_station_id not in", values, "elecStationId");
            return (Criteria) this;
        }

        public Criteria andElecStationIdBetween(Long value1, Long value2) {
            addCriterion("elec_station_id between", value1, value2, "elecStationId");
            return (Criteria) this;
        }

        public Criteria andElecStationIdNotBetween(Long value1, Long value2) {
            addCriterion("elec_station_id not between", value1, value2, "elecStationId");
            return (Criteria) this;
        }

        public Criteria andManufacturerIdIsNull() {
            addCriterion("manufacturer_id is null");
            return (Criteria) this;
        }

        public Criteria andManufacturerIdIsNotNull() {
            addCriterion("manufacturer_id is not null");
            return (Criteria) this;
        }

        public Criteria andManufacturerIdEqualTo(Long value) {
            addCriterion("manufacturer_id =", value, "manufacturerId");
            return (Criteria) this;
        }

        public Criteria andManufacturerIdNotEqualTo(Long value) {
            addCriterion("manufacturer_id <>", value, "manufacturerId");
            return (Criteria) this;
        }

        public Criteria andManufacturerIdGreaterThan(Long value) {
            addCriterion("manufacturer_id >", value, "manufacturerId");
            return (Criteria) this;
        }

        public Criteria andManufacturerIdGreaterThanOrEqualTo(Long value) {
            addCriterion("manufacturer_id >=", value, "manufacturerId");
            return (Criteria) this;
        }

        public Criteria andManufacturerIdLessThan(Long value) {
            addCriterion("manufacturer_id <", value, "manufacturerId");
            return (Criteria) this;
        }

        public Criteria andManufacturerIdLessThanOrEqualTo(Long value) {
            addCriterion("manufacturer_id <=", value, "manufacturerId");
            return (Criteria) this;
        }

        public Criteria andManufacturerIdIn(List<Long> values) {
            addCriterion("manufacturer_id in", values, "manufacturerId");
            return (Criteria) this;
        }

        public Criteria andManufacturerIdNotIn(List<Long> values) {
            addCriterion("manufacturer_id not in", values, "manufacturerId");
            return (Criteria) this;
        }

        public Criteria andManufacturerIdBetween(Long value1, Long value2) {
            addCriterion("manufacturer_id between", value1, value2, "manufacturerId");
            return (Criteria) this;
        }

        public Criteria andManufacturerIdNotBetween(Long value1, Long value2) {
            addCriterion("manufacturer_id not between", value1, value2, "manufacturerId");
            return (Criteria) this;
        }

        public Criteria andPrinterTypeIsNull() {
            addCriterion("printer_type is null");
            return (Criteria) this;
        }

        public Criteria andPrinterTypeIsNotNull() {
            addCriterion("printer_type is not null");
            return (Criteria) this;
        }

        public Criteria andPrinterTypeEqualTo(String value) {
            addCriterion("printer_type =", value, "printerType");
            return (Criteria) this;
        }

        public Criteria andPrinterTypeNotEqualTo(String value) {
            addCriterion("printer_type <>", value, "printerType");
            return (Criteria) this;
        }

        public Criteria andPrinterTypeGreaterThan(String value) {
            addCriterion("printer_type >", value, "printerType");
            return (Criteria) this;
        }

        public Criteria andPrinterTypeGreaterThanOrEqualTo(String value) {
            addCriterion("printer_type >=", value, "printerType");
            return (Criteria) this;
        }

        public Criteria andPrinterTypeLessThan(String value) {
            addCriterion("printer_type <", value, "printerType");
            return (Criteria) this;
        }

        public Criteria andPrinterTypeLessThanOrEqualTo(String value) {
            addCriterion("printer_type <=", value, "printerType");
            return (Criteria) this;
        }

        public Criteria andPrinterTypeLike(String value) {
            addCriterion("printer_type like", value, "printerType");
            return (Criteria) this;
        }

        public Criteria andPrinterTypeNotLike(String value) {
            addCriterion("printer_type not like", value, "printerType");
            return (Criteria) this;
        }

        public Criteria andPrinterTypeIn(List<String> values) {
            addCriterion("printer_type in", values, "printerType");
            return (Criteria) this;
        }

        public Criteria andPrinterTypeNotIn(List<String> values) {
            addCriterion("printer_type not in", values, "printerType");
            return (Criteria) this;
        }

        public Criteria andPrinterTypeBetween(String value1, String value2) {
            addCriterion("printer_type between", value1, value2, "printerType");
            return (Criteria) this;
        }

        public Criteria andPrinterTypeNotBetween(String value1, String value2) {
            addCriterion("printer_type not between", value1, value2, "printerType");
            return (Criteria) this;
        }

        public Criteria andPrinterNoIsNull() {
            addCriterion("printer_no is null");
            return (Criteria) this;
        }

        public Criteria andPrinterNoIsNotNull() {
            addCriterion("printer_no is not null");
            return (Criteria) this;
        }

        public Criteria andPrinterNoEqualTo(String value) {
            addCriterion("printer_no =", value, "printerNo");
            return (Criteria) this;
        }

        public Criteria andPrinterNoNotEqualTo(String value) {
            addCriterion("printer_no <>", value, "printerNo");
            return (Criteria) this;
        }

        public Criteria andPrinterNoGreaterThan(String value) {
            addCriterion("printer_no >", value, "printerNo");
            return (Criteria) this;
        }

        public Criteria andPrinterNoGreaterThanOrEqualTo(String value) {
            addCriterion("printer_no >=", value, "printerNo");
            return (Criteria) this;
        }

        public Criteria andPrinterNoLessThan(String value) {
            addCriterion("printer_no <", value, "printerNo");
            return (Criteria) this;
        }

        public Criteria andPrinterNoLessThanOrEqualTo(String value) {
            addCriterion("printer_no <=", value, "printerNo");
            return (Criteria) this;
        }

        public Criteria andPrinterNoLike(String value) {
            addCriterion("printer_no like", value, "printerNo");
            return (Criteria) this;
        }

        public Criteria andPrinterNoNotLike(String value) {
            addCriterion("printer_no not like", value, "printerNo");
            return (Criteria) this;
        }

        public Criteria andPrinterNoIn(List<String> values) {
            addCriterion("printer_no in", values, "printerNo");
            return (Criteria) this;
        }

        public Criteria andPrinterNoNotIn(List<String> values) {
            addCriterion("printer_no not in", values, "printerNo");
            return (Criteria) this;
        }

        public Criteria andPrinterNoBetween(String value1, String value2) {
            addCriterion("printer_no between", value1, value2, "printerNo");
            return (Criteria) this;
        }

        public Criteria andPrinterNoNotBetween(String value1, String value2) {
            addCriterion("printer_no not between", value1, value2, "printerNo");
            return (Criteria) this;
        }

        public Criteria andPrinterRtuaIsNull() {
            addCriterion("printer_rtua is null");
            return (Criteria) this;
        }

        public Criteria andPrinterRtuaIsNotNull() {
            addCriterion("printer_rtua is not null");
            return (Criteria) this;
        }

        public Criteria andPrinterRtuaEqualTo(String value) {
            addCriterion("printer_rtua =", value, "printerRtua");
            return (Criteria) this;
        }

        public Criteria andPrinterRtuaNotEqualTo(String value) {
            addCriterion("printer_rtua <>", value, "printerRtua");
            return (Criteria) this;
        }

        public Criteria andPrinterRtuaGreaterThan(String value) {
            addCriterion("printer_rtua >", value, "printerRtua");
            return (Criteria) this;
        }

        public Criteria andPrinterRtuaGreaterThanOrEqualTo(String value) {
            addCriterion("printer_rtua >=", value, "printerRtua");
            return (Criteria) this;
        }

        public Criteria andPrinterRtuaLessThan(String value) {
            addCriterion("printer_rtua <", value, "printerRtua");
            return (Criteria) this;
        }

        public Criteria andPrinterRtuaLessThanOrEqualTo(String value) {
            addCriterion("printer_rtua <=", value, "printerRtua");
            return (Criteria) this;
        }

        public Criteria andPrinterRtuaLike(String value) {
            addCriterion("printer_rtua like", value, "printerRtua");
            return (Criteria) this;
        }

        public Criteria andPrinterRtuaNotLike(String value) {
            addCriterion("printer_rtua not like", value, "printerRtua");
            return (Criteria) this;
        }

        public Criteria andPrinterRtuaIn(List<String> values) {
            addCriterion("printer_rtua in", values, "printerRtua");
            return (Criteria) this;
        }

        public Criteria andPrinterRtuaNotIn(List<String> values) {
            addCriterion("printer_rtua not in", values, "printerRtua");
            return (Criteria) this;
        }

        public Criteria andPrinterRtuaBetween(String value1, String value2) {
            addCriterion("printer_rtua between", value1, value2, "printerRtua");
            return (Criteria) this;
        }

        public Criteria andPrinterRtuaNotBetween(String value1, String value2) {
            addCriterion("printer_rtua not between", value1, value2, "printerRtua");
            return (Criteria) this;
        }

        public Criteria andPaperUsedCountIsNull() {
            addCriterion("paper_used_count is null");
            return (Criteria) this;
        }

        public Criteria andPaperUsedCountIsNotNull() {
            addCriterion("paper_used_count is not null");
            return (Criteria) this;
        }

        public Criteria andPaperUsedCountEqualTo(Integer value) {
            addCriterion("paper_used_count =", value, "paperUsedCount");
            return (Criteria) this;
        }

        public Criteria andPaperUsedCountNotEqualTo(Integer value) {
            addCriterion("paper_used_count <>", value, "paperUsedCount");
            return (Criteria) this;
        }

        public Criteria andPaperUsedCountGreaterThan(Integer value) {
            addCriterion("paper_used_count >", value, "paperUsedCount");
            return (Criteria) this;
        }

        public Criteria andPaperUsedCountGreaterThanOrEqualTo(Integer value) {
            addCriterion("paper_used_count >=", value, "paperUsedCount");
            return (Criteria) this;
        }

        public Criteria andPaperUsedCountLessThan(Integer value) {
            addCriterion("paper_used_count <", value, "paperUsedCount");
            return (Criteria) this;
        }

        public Criteria andPaperUsedCountLessThanOrEqualTo(Integer value) {
            addCriterion("paper_used_count <=", value, "paperUsedCount");
            return (Criteria) this;
        }

        public Criteria andPaperUsedCountIn(List<Integer> values) {
            addCriterion("paper_used_count in", values, "paperUsedCount");
            return (Criteria) this;
        }

        public Criteria andPaperUsedCountNotIn(List<Integer> values) {
            addCriterion("paper_used_count not in", values, "paperUsedCount");
            return (Criteria) this;
        }

        public Criteria andPaperUsedCountBetween(Integer value1, Integer value2) {
            addCriterion("paper_used_count between", value1, value2, "paperUsedCount");
            return (Criteria) this;
        }

        public Criteria andPaperUsedCountNotBetween(Integer value1, Integer value2) {
            addCriterion("paper_used_count not between", value1, value2, "paperUsedCount");
            return (Criteria) this;
        }

        public Criteria andPaperRestCountIsNull() {
            addCriterion("paper_rest_count is null");
            return (Criteria) this;
        }

        public Criteria andPaperRestCountIsNotNull() {
            addCriterion("paper_rest_count is not null");
            return (Criteria) this;
        }

        public Criteria andPaperRestCountEqualTo(Integer value) {
            addCriterion("paper_rest_count =", value, "paperRestCount");
            return (Criteria) this;
        }

        public Criteria andPaperRestCountNotEqualTo(Integer value) {
            addCriterion("paper_rest_count <>", value, "paperRestCount");
            return (Criteria) this;
        }

        public Criteria andPaperRestCountGreaterThan(Integer value) {
            addCriterion("paper_rest_count >", value, "paperRestCount");
            return (Criteria) this;
        }

        public Criteria andPaperRestCountGreaterThanOrEqualTo(Integer value) {
            addCriterion("paper_rest_count >=", value, "paperRestCount");
            return (Criteria) this;
        }

        public Criteria andPaperRestCountLessThan(Integer value) {
            addCriterion("paper_rest_count <", value, "paperRestCount");
            return (Criteria) this;
        }

        public Criteria andPaperRestCountLessThanOrEqualTo(Integer value) {
            addCriterion("paper_rest_count <=", value, "paperRestCount");
            return (Criteria) this;
        }

        public Criteria andPaperRestCountIn(List<Integer> values) {
            addCriterion("paper_rest_count in", values, "paperRestCount");
            return (Criteria) this;
        }

        public Criteria andPaperRestCountNotIn(List<Integer> values) {
            addCriterion("paper_rest_count not in", values, "paperRestCount");
            return (Criteria) this;
        }

        public Criteria andPaperRestCountBetween(Integer value1, Integer value2) {
            addCriterion("paper_rest_count between", value1, value2, "paperRestCount");
            return (Criteria) this;
        }

        public Criteria andPaperRestCountNotBetween(Integer value1, Integer value2) {
            addCriterion("paper_rest_count not between", value1, value2, "paperRestCount");
            return (Criteria) this;
        }

        public Criteria andWarnCountIsNull() {
            addCriterion("warn_count is null");
            return (Criteria) this;
        }

        public Criteria andWarnCountIsNotNull() {
            addCriterion("warn_count is not null");
            return (Criteria) this;
        }

        public Criteria andWarnCountEqualTo(Integer value) {
            addCriterion("warn_count =", value, "warnCount");
            return (Criteria) this;
        }

        public Criteria andWarnCountNotEqualTo(Integer value) {
            addCriterion("warn_count <>", value, "warnCount");
            return (Criteria) this;
        }

        public Criteria andWarnCountGreaterThan(Integer value) {
            addCriterion("warn_count >", value, "warnCount");
            return (Criteria) this;
        }

        public Criteria andWarnCountGreaterThanOrEqualTo(Integer value) {
            addCriterion("warn_count >=", value, "warnCount");
            return (Criteria) this;
        }

        public Criteria andWarnCountLessThan(Integer value) {
            addCriterion("warn_count <", value, "warnCount");
            return (Criteria) this;
        }

        public Criteria andWarnCountLessThanOrEqualTo(Integer value) {
            addCriterion("warn_count <=", value, "warnCount");
            return (Criteria) this;
        }

        public Criteria andWarnCountIn(List<Integer> values) {
            addCriterion("warn_count in", values, "warnCount");
            return (Criteria) this;
        }

        public Criteria andWarnCountNotIn(List<Integer> values) {
            addCriterion("warn_count not in", values, "warnCount");
            return (Criteria) this;
        }

        public Criteria andWarnCountBetween(Integer value1, Integer value2) {
            addCriterion("warn_count between", value1, value2, "warnCount");
            return (Criteria) this;
        }

        public Criteria andWarnCountNotBetween(Integer value1, Integer value2) {
            addCriterion("warn_count not between", value1, value2, "warnCount");
            return (Criteria) this;
        }

        public Criteria andLoginStatusIsNull() {
            addCriterion("login_status is null");
            return (Criteria) this;
        }

        public Criteria andLoginStatusIsNotNull() {
            addCriterion("login_status is not null");
            return (Criteria) this;
        }

        public Criteria andLoginStatusEqualTo(String value) {
            addCriterion("login_status =", value, "loginStatus");
            return (Criteria) this;
        }

        public Criteria andLoginStatusNotEqualTo(String value) {
            addCriterion("login_status <>", value, "loginStatus");
            return (Criteria) this;
        }

        public Criteria andLoginStatusGreaterThan(String value) {
            addCriterion("login_status >", value, "loginStatus");
            return (Criteria) this;
        }

        public Criteria andLoginStatusGreaterThanOrEqualTo(String value) {
            addCriterion("login_status >=", value, "loginStatus");
            return (Criteria) this;
        }

        public Criteria andLoginStatusLessThan(String value) {
            addCriterion("login_status <", value, "loginStatus");
            return (Criteria) this;
        }

        public Criteria andLoginStatusLessThanOrEqualTo(String value) {
            addCriterion("login_status <=", value, "loginStatus");
            return (Criteria) this;
        }

        public Criteria andLoginStatusLike(String value) {
            addCriterion("login_status like", value, "loginStatus");
            return (Criteria) this;
        }

        public Criteria andLoginStatusNotLike(String value) {
            addCriterion("login_status not like", value, "loginStatus");
            return (Criteria) this;
        }

        public Criteria andLoginStatusIn(List<String> values) {
            addCriterion("login_status in", values, "loginStatus");
            return (Criteria) this;
        }

        public Criteria andLoginStatusNotIn(List<String> values) {
            addCriterion("login_status not in", values, "loginStatus");
            return (Criteria) this;
        }

        public Criteria andLoginStatusBetween(String value1, String value2) {
            addCriterion("login_status between", value1, value2, "loginStatus");
            return (Criteria) this;
        }

        public Criteria andLoginStatusNotBetween(String value1, String value2) {
            addCriterion("login_status not between", value1, value2, "loginStatus");
            return (Criteria) this;
        }

        public Criteria andHeadStatusIsNull() {
            addCriterion("head_status is null");
            return (Criteria) this;
        }

        public Criteria andHeadStatusIsNotNull() {
            addCriterion("head_status is not null");
            return (Criteria) this;
        }

        public Criteria andHeadStatusEqualTo(String value) {
            addCriterion("head_status =", value, "headStatus");
            return (Criteria) this;
        }

        public Criteria andHeadStatusNotEqualTo(String value) {
            addCriterion("head_status <>", value, "headStatus");
            return (Criteria) this;
        }

        public Criteria andHeadStatusGreaterThan(String value) {
            addCriterion("head_status >", value, "headStatus");
            return (Criteria) this;
        }

        public Criteria andHeadStatusGreaterThanOrEqualTo(String value) {
            addCriterion("head_status >=", value, "headStatus");
            return (Criteria) this;
        }

        public Criteria andHeadStatusLessThan(String value) {
            addCriterion("head_status <", value, "headStatus");
            return (Criteria) this;
        }

        public Criteria andHeadStatusLessThanOrEqualTo(String value) {
            addCriterion("head_status <=", value, "headStatus");
            return (Criteria) this;
        }

        public Criteria andHeadStatusLike(String value) {
            addCriterion("head_status like", value, "headStatus");
            return (Criteria) this;
        }

        public Criteria andHeadStatusNotLike(String value) {
            addCriterion("head_status not like", value, "headStatus");
            return (Criteria) this;
        }

        public Criteria andHeadStatusIn(List<String> values) {
            addCriterion("head_status in", values, "headStatus");
            return (Criteria) this;
        }

        public Criteria andHeadStatusNotIn(List<String> values) {
            addCriterion("head_status not in", values, "headStatus");
            return (Criteria) this;
        }

        public Criteria andHeadStatusBetween(String value1, String value2) {
            addCriterion("head_status between", value1, value2, "headStatus");
            return (Criteria) this;
        }

        public Criteria andHeadStatusNotBetween(String value1, String value2) {
            addCriterion("head_status not between", value1, value2, "headStatus");
            return (Criteria) this;
        }

        public Criteria andStatusIsNull() {
            addCriterion("status is null");
            return (Criteria) this;
        }

        public Criteria andStatusIsNotNull() {
            addCriterion("status is not null");
            return (Criteria) this;
        }

        public Criteria andStatusEqualTo(String value) {
            addCriterion("status =", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotEqualTo(String value) {
            addCriterion("status <>", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThan(String value) {
            addCriterion("status >", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThanOrEqualTo(String value) {
            addCriterion("status >=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThan(String value) {
            addCriterion("status <", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThanOrEqualTo(String value) {
            addCriterion("status <=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLike(String value) {
            addCriterion("status like", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotLike(String value) {
            addCriterion("status not like", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusIn(List<String> values) {
            addCriterion("status in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotIn(List<String> values) {
            addCriterion("status not in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusBetween(String value1, String value2) {
            addCriterion("status between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotBetween(String value1, String value2) {
            addCriterion("status not between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andOperateStatusIsNull() {
            addCriterion("operate_status is null");
            return (Criteria) this;
        }

        public Criteria andOperateStatusIsNotNull() {
            addCriterion("operate_status is not null");
            return (Criteria) this;
        }

        public Criteria andOperateStatusEqualTo(String value) {
            addCriterion("operate_status =", value, "operateStatus");
            return (Criteria) this;
        }

        public Criteria andOperateStatusNotEqualTo(String value) {
            addCriterion("operate_status <>", value, "operateStatus");
            return (Criteria) this;
        }

        public Criteria andOperateStatusGreaterThan(String value) {
            addCriterion("operate_status >", value, "operateStatus");
            return (Criteria) this;
        }

        public Criteria andOperateStatusGreaterThanOrEqualTo(String value) {
            addCriterion("operate_status >=", value, "operateStatus");
            return (Criteria) this;
        }

        public Criteria andOperateStatusLessThan(String value) {
            addCriterion("operate_status <", value, "operateStatus");
            return (Criteria) this;
        }

        public Criteria andOperateStatusLessThanOrEqualTo(String value) {
            addCriterion("operate_status <=", value, "operateStatus");
            return (Criteria) this;
        }

        public Criteria andOperateStatusLike(String value) {
            addCriterion("operate_status like", value, "operateStatus");
            return (Criteria) this;
        }

        public Criteria andOperateStatusNotLike(String value) {
            addCriterion("operate_status not like", value, "operateStatus");
            return (Criteria) this;
        }

        public Criteria andOperateStatusIn(List<String> values) {
            addCriterion("operate_status in", values, "operateStatus");
            return (Criteria) this;
        }

        public Criteria andOperateStatusNotIn(List<String> values) {
            addCriterion("operate_status not in", values, "operateStatus");
            return (Criteria) this;
        }

        public Criteria andOperateStatusBetween(String value1, String value2) {
            addCriterion("operate_status between", value1, value2, "operateStatus");
            return (Criteria) this;
        }

        public Criteria andOperateStatusNotBetween(String value1, String value2) {
            addCriterion("operate_status not between", value1, value2, "operateStatus");
            return (Criteria) this;
        }

        public Criteria andCreatedByIsNull() {
            addCriterion("created_by is null");
            return (Criteria) this;
        }

        public Criteria andCreatedByIsNotNull() {
            addCriterion("created_by is not null");
            return (Criteria) this;
        }

        public Criteria andCreatedByEqualTo(String value) {
            addCriterion("created_by =", value, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedByNotEqualTo(String value) {
            addCriterion("created_by <>", value, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedByGreaterThan(String value) {
            addCriterion("created_by >", value, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedByGreaterThanOrEqualTo(String value) {
            addCriterion("created_by >=", value, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedByLessThan(String value) {
            addCriterion("created_by <", value, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedByLessThanOrEqualTo(String value) {
            addCriterion("created_by <=", value, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedByLike(String value) {
            addCriterion("created_by like", value, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedByNotLike(String value) {
            addCriterion("created_by not like", value, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedByIn(List<String> values) {
            addCriterion("created_by in", values, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedByNotIn(List<String> values) {
            addCriterion("created_by not in", values, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedByBetween(String value1, String value2) {
            addCriterion("created_by between", value1, value2, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedByNotBetween(String value1, String value2) {
            addCriterion("created_by not between", value1, value2, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeIsNull() {
            addCriterion("created_time is null");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeIsNotNull() {
            addCriterion("created_time is not null");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeEqualTo(Date value) {
            addCriterion("created_time =", value, "createdTime");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeNotEqualTo(Date value) {
            addCriterion("created_time <>", value, "createdTime");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeGreaterThan(Date value) {
            addCriterion("created_time >", value, "createdTime");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("created_time >=", value, "createdTime");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeLessThan(Date value) {
            addCriterion("created_time <", value, "createdTime");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeLessThanOrEqualTo(Date value) {
            addCriterion("created_time <=", value, "createdTime");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeIn(List<Date> values) {
            addCriterion("created_time in", values, "createdTime");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeNotIn(List<Date> values) {
            addCriterion("created_time not in", values, "createdTime");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeBetween(Date value1, Date value2) {
            addCriterion("created_time between", value1, value2, "createdTime");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeNotBetween(Date value1, Date value2) {
            addCriterion("created_time not between", value1, value2, "createdTime");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByIsNull() {
            addCriterion("last_updated_by is null");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByIsNotNull() {
            addCriterion("last_updated_by is not null");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByEqualTo(String value) {
            addCriterion("last_updated_by =", value, "lastUpdatedBy");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByNotEqualTo(String value) {
            addCriterion("last_updated_by <>", value, "lastUpdatedBy");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByGreaterThan(String value) {
            addCriterion("last_updated_by >", value, "lastUpdatedBy");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByGreaterThanOrEqualTo(String value) {
            addCriterion("last_updated_by >=", value, "lastUpdatedBy");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByLessThan(String value) {
            addCriterion("last_updated_by <", value, "lastUpdatedBy");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByLessThanOrEqualTo(String value) {
            addCriterion("last_updated_by <=", value, "lastUpdatedBy");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByLike(String value) {
            addCriterion("last_updated_by like", value, "lastUpdatedBy");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByNotLike(String value) {
            addCriterion("last_updated_by not like", value, "lastUpdatedBy");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByIn(List<String> values) {
            addCriterion("last_updated_by in", values, "lastUpdatedBy");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByNotIn(List<String> values) {
            addCriterion("last_updated_by not in", values, "lastUpdatedBy");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByBetween(String value1, String value2) {
            addCriterion("last_updated_by between", value1, value2, "lastUpdatedBy");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByNotBetween(String value1, String value2) {
            addCriterion("last_updated_by not between", value1, value2, "lastUpdatedBy");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedTimeIsNull() {
            addCriterion("last_updated_time is null");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedTimeIsNotNull() {
            addCriterion("last_updated_time is not null");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedTimeEqualTo(Date value) {
            addCriterion("last_updated_time =", value, "lastUpdatedTime");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedTimeNotEqualTo(Date value) {
            addCriterion("last_updated_time <>", value, "lastUpdatedTime");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedTimeGreaterThan(Date value) {
            addCriterion("last_updated_time >", value, "lastUpdatedTime");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("last_updated_time >=", value, "lastUpdatedTime");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedTimeLessThan(Date value) {
            addCriterion("last_updated_time <", value, "lastUpdatedTime");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedTimeLessThanOrEqualTo(Date value) {
            addCriterion("last_updated_time <=", value, "lastUpdatedTime");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedTimeIn(List<Date> values) {
            addCriterion("last_updated_time in", values, "lastUpdatedTime");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedTimeNotIn(List<Date> values) {
            addCriterion("last_updated_time not in", values, "lastUpdatedTime");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedTimeBetween(Date value1, Date value2) {
            addCriterion("last_updated_time between", value1, value2, "lastUpdatedTime");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedTimeNotBetween(Date value1, Date value2) {
            addCriterion("last_updated_time not between", value1, value2, "lastUpdatedTime");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {
        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}